<include file="Public/head"/>
<link href="__PUBLIC__/qwadmin/css/shen/shen.css" rel="stylesheet" type="text/css" />

<body class="no-skin">
<style>
body .demo-class .layui-layer-title{background:#6495ED; color:#fff; border: none;}
body .demo-class .layui-layer-btn{border-top:1px solid #E9E7E7}
body .demo-class .layui-layer-btn a{background:#333;}
body .demo-class .layui-layer-btn .layui-layer-btn1{background:#999;}

body th{
    color:#4F94CD;
    font-size:15px;
}
body td{
    font-size:14px;
}

#tet th{
    text-align: center;
}
#tet td{
    text-align: center;
}

#divv input{
    margin:0px 5px;
}
.dds input{
    margin:0px 5px;
}


.sp {
    border:1px solid #ccc;
    border-radius:50px;
    /*margin-top:30px;*/
}
.sp ul{
    margin-top:20px;
}
.sp ul li{
     float:left;
    margin:3px 10px;
    font-size:15px; 
    margin-left:28px;
}

.sp ul li button{
    width:140px;
    height:40px;
    border:1px solid #ccc;
    border-radius:50px;
}

#xxx ul{
    float:left;
    margin-top:5%;
}

#xxx ul li{
    float:left;
    padding: 5px 15px;
    margin-left:8px;
    font-size:15px;

}

</style>
<include file="Public/header"/>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>
                <div style="width:100%;height:100px;float:left;margin-left:0%;margin-top:0px;overflow:auto;" class="sp">
                    <!-- <h5>选择查看</h5> -->
                    <ul>
                        <li onclick="g()"><button class="" style="background-color: #F08080; color:#fff;">固定资产购置审批</button></li>

                        <li><a href="{:U('Shenp/xindex',array('type'=>2))}"><button class="" style="background-color:#F08080;color:#fff;">行政物资审批</button></a> &nbsp&nbsp<a href="{:U('Shenp/xindex',array('type'=>3))}"><button class="" style="background-color:#F08080;color:#fff">急性行政物资审批</button></a>  </li>

                        <li><a href="{:U('Shenp/findex',array('type'=>1))}"><button class="btn-primary">业务招待费审批</button></a> &nbsp&nbsp<a href="{:U('Shenp/findex',array('type'=>2))}"><button class="btn-primary">药品耗材审批</button></a> &nbsp&nbsp<a href="{:U('Shenp/findex',array('type'=>3))}"><button class="btn-primary">行政借款审批</button></a></li>

                        <li><a href="{:U('Shenp/findex',array('type'=>4))}"><button class="btn-warning">户外费用</button></a> &nbsp&nbsp<a href="{:U('Shenp/findex',array('type'=>5))}"><button class="btn-warning">网络费用审批</button></a> &nbsp&nbsp<a href="{:U('Shenp/findex',array('type'=>6))}"><button class="btn-warning">电视费用审批</button></a> &nbsp&nbsp<button class="btn-warning">派车审批</button></li>
                       
                        
                    </ul>

                </div><br>

               <!--  
                <div style="margin-top:10px;float:right;">
                    <button onclick="ctong()" class="btn-success" style="height:30px;border-radius:20px;">查看所有通过</button>
                    <button onclick="cju()" class="btn-danger" style="height:30px;border-radius:20px;">查看所有拒绝</button>
                </div> -->
               
                    <div style="float:left;margin-top:10px;font-size:15px;">
                        <input type="button" class="btn-info" value="返回" style="height:30px;width:80px;" onclick="fan()">
                    </div>
          
                 
                <!-- 行政物资审核 -->
                   <div class="row">
                   
                        <div class="widget-box" style="margin-top:130px;height:0px;">

                            <div class="widget-header">

                                <h4 class="widget-title" style="color:#EE0000;">
                                    <label>                 
                                        <span class="lbl"></span>
                                    </label>
                                   
                                   <b>--{$title}--</b>
                                </h4>
                                <div class="widget-toolbar">
                                    <notempty name="v.children">
                                        <a href="#" data-action="collapse">
                                            <i class="ace-icon fa fa-chevron-up"></i>
                                        </a>
                                    </notempty>
                                </div>
                            </div>
                            <notempty name="v.children">
                                <div class="widget-body">
                                    <!-- <div style="float:right;margin-top:3px;margin-right:0px;">
                                        <input id="submit" class="btn btn-info" type="button" value="一键通过">
                                     
                                    </div> -->
                                   <input type="button"  value="导出excel" class=" btn-info"  style="float:left;border-radius:25px;width:100px;margin-top:0px;" onClick="return export_excel();"    /><span style="float:left; width:20px;height:100%;">&nbsp;</span>
                                    <div class="widget-main row" style="height:100%;margin-top:2px;">
                                        <?php if(!empty($list)): ?>
                                                <!-- 行政物资审核 END -->
                                                <div>
                                                <table class="table " style="margin-top:5px;">
                                                    <tr>
                                                        <th class="center" style="font-size:25px;">总价合计</th>
                                                    </tr>
                                                    <tr>
                                                        <td class="center" style="font-size:17px; color:red;"><b>{$coun}</b> <b>/元</b></td>
                                                    </tr>
                                                </table>
                                                <!-- <h4 style="text-align:center;"><b>行政物资申请:</b></h4> -->
                                                <form id="form" method="post" action="{:U('Shenp/qtong')}">
                                                <table class="table table-bordered" style="margin-top:5px;">
                                                    <thead>
                                                        <tr>
                                                            <!-- <th class="center"><input class="check-all" type="checkbox" value=""></th> -->
                                                            <th class="center">编号</th>
                                                            <th class="center">申请类型</th>
                                                            <th class="center">物品名称</th>
                                    
                                                            <th class="center">申请数量</th>
                                                            <th class="center">剩余库存</th>
                                                            <th class="center">物品单价</th>

                                                            <th class="center">单个总价</th>
                                                            <th class="center">所属部门</th>
                                                            <th class="center">申请时间</th>
                                                            <!-- <th class="center">操作</th> -->
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                    <volist name="list" id="v">
                                                        <tr>
                                                          <!--   <td class="center">
                                                            <input class="uids" type="checkbox" name="uids[]" value="{$v['id']}">
                                                            </td> -->
                                                            <td class="center" id="ddi">{$v.id}</td>                                                   
                                                            <td class="center">
                                                                <?php if($v['type'] == 0): ?>
                                                                    <b style="color:#F4A460;font-size:17px;">行政物资申请</b>
                                                                <?php else: ?>
                                                                    <?php if($v['type'] == 1): ?>
                                                                        <b style="color:#B22222;font-size:17px;">急性行政物资申请</b>
                                                                    <?php else: ?>
                                                                        <?php if($v['type'] == 2): ?>
                                                                            <b style="color:#9370DB;font-size:17px;">固定资产申购</b>
                                                                        <?php else: ?>
                                                                    
                                                                        <?php endif ?>
                                                                    <?php endif ?>
                                                                <?php endif ?>
                                                            </td>                                                   
                                                            <td class="center">{$v.wname}</td>                                                   
                                                            <td class="center">{$v.num}</td>
                                                            <td class="center">
                                                                <?php if($v['type'] == 1): ?>
                                                                    急需物资申请
                                                                <?php else: ?>
                                                                    {$v.number}
                                                                <?php endif ?>
                                                            </td>
                                                            <td class="center"><b style="color:red;">{$v.unit}</b>    <b style="float:right;">/元</b></td>
                                                            <td class="center"><b style="color:red;">{$v.zong} </b>    <b style="float:right;">/元</b></td>
                                                            <td class="center">{$v.ment}</td>
                                                            <td class="center">{$v.time}</td>
                                                          
                                                              <!--   <td class="center" style="">
                                                                <div onclick="xtong({$v.id},this)" style="width:50px;border:1px solid #ccc;background-color:#25CB73;margin:0px auto;color:#fff;cursor:pointer;">通过</div>
                                                                <div onclick="xju({$v.id},this)" style="width:50px;border:1px solid #ccc;background-color:#B22222;margin:0px auto;color:#fff;cursor:pointer;">拒绝</div>
                                                                </td> -->
                                                          
                                                            
                                                        </tr>
                                                    </volist>
                                                    </tbody>
                                                </table>
                                                 </form>
                                                <!-- 行政物资审核 END -->
                                        <?php endif ?>
                                                </div>
                                        <hr>

                                      

                                   
                    
                    


                


            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
    <!-- <include file="Public/footer"/> -->

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script src="__PUBLIC__/layer/layer.js"></script>
<script src="__PUBLIC__/jquery-1.7.2.min.js"></script>
<script>

function fan()
{
    location.href="{:U('Shenp/index')}";
}



    //导出excel
    function export_excel(){
        location.href="{:U('Export/ldao')}";
    }






</script>
<!-- <div id="xxx" style="display:none;">
   <div style="margin:30px 70px;">
        <a href="{:U('Shenp/xiang',array('type'=>1))}"><button class="btn-success" style="height:35px">行政物资类</button></a>
        <a href="{:U('Shenp/xiang',array('type'=>2))}"><button class="btn-warning" style="margin-left:50px;height:37px;width:65px;">费用类</button></a>
    
   </div>
    
</div>
<div id="jjj" style="display:none;">
   <div style="margin:30px 70px;">
        <a href="{:U('Shenp/xiang',array('type'=>3))}"><button class="btn-success" style="height:35px">行政物资类</button></a>
        <a href="{:U('Shenp/xiang',array('type'=>4))}"><button class="btn-warning" style="margin-left:50px;height:37px;width:65px;">费用类</button></a>
    
   </div>
    
</div> -->

</body>

</html>
